Refactored toys function.