re-wrote statment