working on extend state
fixing extend
removing multiply state