comments added, filter method added