Functions working

Basics functions working