still thinking to implement compression