Setup for medy