added "self" to gofile