need to use ispan() instead of size