added backward compatibility