add immediate constants (migrated to ruby)