added procedure and boolean