reorganzing for better readability by grouping related items together