includes funtionality to add earned leaves upto -1 leaves

earned leaves may be added now