made styling more consistent, used .every() instead of for()