First attempt at porting Rapid Prototyping that was made by @Zuhayr