more advanced selectig