workaround for the result, must be done better than this