[#9] added accepts method