added protype'd methods & implemented a few.