db: jscs & parse int internally (separation of concerns)