add return types for all functions (no more implicit int).