building wrapper for amp