Removed duplicate code from mican