implemented some methods, which should be autogenerated in the future