adds more methods to prevent breaks on nil