before struncturing code