added a helpfull method