Put prototyping to proper use