Added Sameni's header to function