changed obj to static