#3. Added functions