add setup and entry