each and inbuilt functions used