reaaranged
resolve method calls on constants