add check for inter