add checks for binary presence