trying to add the code for New... but failed