implemented overlay