Simple backend logic