+function call and made function reusable