Let impl. allocate memmory , minor changes.