corrected is_implemented condition / added min & max aggregation