removed storing of size