added OBJ_SCALAR
miles made some edits