pieces of resuable code