adjust diferent parameters according to swing types