add prototype to public folder