framework of methodsAndSpace function is done. I need some attention to make it right next