added test&set functionality