starting work on more functions