removing deprication warning
Merge #29