Distance parameter and Pentagon added.