Text this: Maximum principle and its extension for bounded control problems with boundary conditions