additions in type juggling functions; adding a procedural generator