implemented shadow fixes #1