mkd was declared twice