Added go to type def, added console output