completed the compressed method (P08)