Createing function, callback, notificactions