weather functional with basic styling