started writing rx code