Completed both functions