Move function lower down