added some code to the share station algo