inplemented sc event listeners etc