replaced emp calls
updated heads and foots