Function and objects problems - implemented.