added additional functions