created more functions