improving the prototype and the indentation