design basics for sam