Was a mistake call non-static methods