Add filtered method to return an array