starting to finish modifying the functions for solid worlds