adjust based on J