Added proper prototyping