simplifying int on rx