adding some leftoever code