add prototype at python