starting to implement subset