made it generic
formatting