added two methods with which it should work
added two methods with which it should work