Made the initiation
Added filled class to know emptiness, resolved a bug