forgot to change header. slightly change of method signature