parseInt extract from loop