changing code for default perspective