more sensefull checking if there is a collection