removed shitty dimension code