add method for convenience