removed some compile errors,intermediate commit