inbuilt functions used