added changes to pertain only to sketch