todo filtering functionality added