cos methods, working magic.