foreground view in a individual class