select support (use of magic func instead of -1 as adviced)