added getters and subset methods. also added tests for each method