add functionality to findbysizecommand