change scope to prototype