Create alamode_code

This code is for the alamode.