made two more functions