rename function fully implemented and very basic parts of some features involving levels