added if while loops to get my content to show up