added Objective C-methods