check source for correct styles