breaking input parts out of room controller