Minor code update