added: try and findby function