Trying to get a render function to work, but oh well