getting errors converting this. i'l leave it for now.