make some functions methods for consistency-reasons