added my methods and tests