hackish way of implementing this but it’ll have to work for now