issues with rspecs resolved