finished off half-finished method!