Added some function functionality (params)