currently returns nil instead of 1