Now im sending whole object, to the funcions, to let them work