adding reusable code for various projects