checking id every time