Moved prologue to function.