add auto calculating of coverage