Added support for space indentation, added error message if no functions were found