added method which calculate cube area