use the inbuilt function