minor prototype correction