added basic editing controls