- finished listenerimplementation