prototyping own code