use proper ruby increment