Added .first and .last functions