works with ramda algebra branch for compose and map