proper Ruby syntax