added reusability to code