Program not currently working - components aren't talking to each other