still trying to get magic to work..