Extracted another method

Signed-off-by: Rachel Logie <rachel.logie1@gmail.com>