implementing outlines
added styles check for outline