Added comments and finished Fn.