implemented getCommons method