why not implementing this function right away rather than prototyping them here? Looks like C :)