made code more explicit