trying to figure out why it's saying undefined in the status bar