methods and functions classes still misses some minor details