add function: selector in Helper.java