Implements Listeners - Program is functional