Starting to flesh out functionality.