styling and some extra fnctions