added warnings and errors to standard component, added warning in binarySearch