added features for assigning locations for various components