refactors for styling