notes on function components
finished base functions exercise