added "new"

added new code that has some issues