Illicit drugs such as ecstasy, cocaine and heroin all affect the central nervous system and impair mental function. They are known to have significant effects upon performance and have no place within the aviation maintenance environment. Smoking cannabis can subtly impair performance for up to 24 hours. In particular, it affects the ability to concentrate, retain information and make reasoned judgments, especially for difficult tasks.