move styles out