fixed deal function