copying code over
using ACHF45_3