added function with arguements and default