adding medium to be centered