fix
added function