numerify and literify implementation