added tile state. moving to tile class soon