prevents infinate ordering