added edit mode boolean