added LOGIC