copied dll, added if(..)