Made new listerner class, tested but crashed.