Sample amp code