Trading function is added