checks
moving on and emit methods to proto.js