cleaned up for misha