minor modification to give final shape