layout
listining to events