Completed the pre-defined functions in the first part.
Changed -> to . in some places.