Notes on pseudcode added