changed from static to relative