Fixed bug in 'getFrom' method